-
Notifications
You must be signed in to change notification settings - Fork 23
Include realized build time savings in experiment summary #261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
erichaagdev
merged 19 commits into
main
from
erichaagdev/display-realized-build-time-savings
Mar 6, 2023
Merged
Include realized build time savings in experiment summary #261
erichaagdev
merged 19 commits into
main
from
erichaagdev/display-realized-build-time-savings
Mar 6, 2023
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Took a very quick look and the direction looks good. |
This was referenced Dec 29, 2022
erichaagdev
commented
Dec 29, 2022
This was referenced Dec 30, 2022
jthurne
approved these changes
Jan 7, 2023
bcadbb4
to
c1d8a1a
Compare
...a-cmdline-tool/src/main/java/com/gradle/enterprise/api/client/GradleEnterpriseApiClient.java
Show resolved
Hide resolved
...a-cmdline-tool/src/main/java/com/gradle/enterprise/api/client/GradleEnterpriseApiClient.java
Show resolved
Hide resolved
...nents/fetch-build-scan-data-cmdline-tool/src/main/java/com/gradle/enterprise/cli/Fields.java
Show resolved
Hide resolved
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
❄️ Winter Update PR Navigator ❄️
-x
for Gradle experiment 1 #262⛄ = you are here
Summary
ℹ️ This PR only partially implements #206. This felt like a good place to stop. More PRs will be coming.
This PR introduces the following changes:
Effective task execution duration
in the CSV responseRealized build time savings
is now included in the Performance Characteristics section of the experiment summaryExample
Notes
build-scan-support-tool.jar
. If the newEffective task execution duration
field is not included in the command line CSV response thenRealized build time savings
will not be displayed.Realized build time savings
I decided to take @runningcode's suggestion. I even tried a few display variations myself and liked his suggestion the best. Let me know if the format should be changed.Testing
Gradle
Experiment 1
./01-validate-incremental-building.sh \ -r git@github.com:gradle/ge-solutions.git \ -p sample-projects/gradle/7.x/ge \ -t 'build'
No visual differences.
Experiment 2
Online
./02-validate-local-build-caching-same-location.sh \ -r git@github.com:gradle/ge-solutions.git \ -p sample-projects/gradle/7.x/ge \ -t 'build'
Offline
./02-validate-local-build-caching-same-location.sh \ -r git@github.com:gradle/ge-solutions.git \ -p sample-projects/gradle/7.x/ge \ -t 'build' \ -x
No visual differences.
Experiment 3
Online
./03-validate-local-build-caching-different-locations.sh \ -r git@github.com:gradle/ge-solutions.git \ -p sample-projects/gradle/7.x/ge \ -t 'build'
Offline
./03-validate-local-build-caching-different-locations.sh \ -r git@github.com:gradle/ge-solutions.git \ -p sample-projects/gradle/7.x/ge \ -t 'build' \ -x
No visual differences.
Experiment 4
Experiment 5
Maven
Experiment 1
Online
./01-validate-local-build-caching-same-location.sh \ -r git@github.com:gradle/ge-solutions.git \ -p sample-projects/maven/3.8.x/ge \ -g 'package'
Offline
./01-validate-local-build-caching-same-location.sh \ -r git@github.com:gradle/ge-solutions.git \ -p sample-projects/maven/3.8.x/ge \ -g 'package' \ -x
No visual differences.
Experiment 2
Online
./02-validate-local-build-caching-different-locations.sh \ -r git@github.com:gradle/ge-solutions.git \ -p sample-projects/maven/3.8.x/ge \ -g 'package'
Offline
./02-validate-local-build-caching-different-locations.sh \ -r git@github.com:gradle/ge-solutions.git \ -p sample-projects/maven/3.8.x/ge \ -g 'package' \ -x
No visual differences.
Experiment 3
Experiment 4